package org.hefan.user.service;

import org.hefan.basic.service.IBaseService;
import org.hefan.user.domain.User;
import org.hefan.user.dto.UserDto;

/**
 * 用户service
 */
public interface IUserService extends IBaseService<User> {

    /**
     * 发送验证码
     * @param phone
     */
    void sendSms(String phone);

    void phoneRegister(UserDto userDto);

    void sendBinderCode(String phone);

    void smsCodeByPhone(String phone);
}
